<?php
/**
 * @author: liaofei<136327134@qq.com>
 * @day: 2020/6/30
 */

namespace App\Services\system;

use App\Dao\system\SystemRoleDao;

use app\Request;
use app\services\BaseServices;
use App\Services\system\SystemMenusServices;



/**
 * Class SystemRoleServices
 * @package app\services\system\admin
 */
class SystemRoleServices extends BaseServices
{

   

    /**
     * SystemRoleServices constructor.
     * @param SystemRoleDao $dao
     */
    public function __construct(SystemRoleDao $dao)
    {
        $this->dao = $dao;
    }

    /**
     * 获取权限
     * @return mixed
     */
    public function getRoleArray(array $where = [], string $field = '')
    {
        return $this->dao->getOne($where, $field);
    }

 
}
